package com.bw.produce.domain.dto;

/**
 * @author lemon
 * @date 2024/11/15 20:34
 **/
public class PropertyDTO {
    /***/
    private Integer id;
    /**属性名称*/
    private String propertyName;
    /**商品类型*/
    private Integer typeId;
    /**样式 1 普通 2颜色*/
    private Integer style;
    /**是否检索 1 不需要检索 2 关键词检索 3范围检索*/
    private Integer search;
    /**是否关联  0否 1是*/
    private Boolean relevance;
    /**是否可选 1 唯一 2单选 3复选*/
    private Integer selected;
    /**录入方式 1 手工录入 2从列表选择*/
    private Integer method;
    /**属性列表*/
    private String propertyList;
    /**支持手动新增 0 否 1是*/
    private Boolean supportHand;
    /**排序*/
    private Integer propertyRank;
    /**等级 1 属性 2 参数*/
    private Integer propertyLevel;

    @Override
    public String toString() {
        return "PropertyDTO{" +
                "id=" + id +
                ", propertyName='" + propertyName + '\'' +
                ", typeId=" + typeId +
                ", style=" + style +
                ", search=" + search +
                ", relevance=" + relevance +
                ", selected=" + selected +
                ", method=" + method +
                ", propertyList='" + propertyList + '\'' +
                ", supportHand=" + supportHand +
                ", propertyRank=" + propertyRank +
                ", propertyLevel=" + propertyLevel +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getStyle() {
        return style;
    }

    public void setStyle(Integer style) {
        this.style = style;
    }

    public Integer getSearch() {
        return search;
    }

    public void setSearch(Integer search) {
        this.search = search;
    }

    public Boolean getRelevance() {
        return relevance;
    }

    public void setRelevance(Boolean relevance) {
        this.relevance = relevance;
    }

    public Integer getSelected() {
        return selected;
    }

    public void setSelected(Integer selected) {
        this.selected = selected;
    }

    public Integer getMethod() {
        return method;
    }

    public void setMethod(Integer method) {
        this.method = method;
    }

    public String getPropertyList() {
        return propertyList;
    }

    public void setPropertyList(String propertyList) {
        this.propertyList = propertyList;
    }

    public Boolean getSupportHand() {
        return supportHand;
    }

    public void setSupportHand(Boolean supportHand) {
        this.supportHand = supportHand;
    }

    public Integer getPropertyRank() {
        return propertyRank;
    }

    public void setPropertyRank(Integer propertyRank) {
        this.propertyRank = propertyRank;
    }

    public Integer getPropertyLevel() {
        return propertyLevel;
    }

    public void setPropertyLevel(Integer propertyLevel) {
        this.propertyLevel = propertyLevel;
    }
}
